/*
Rami El Mawas
rami.contact@gmail.com
*/
#include <iostream>
#include "rpn.h"
using namespace std;

int main( int argc, char * argv[] ) {
  //Stack s( "1 2 + #PI *" );
  int iaAttributes[] = {0, 1, 2, 3, 4, 5};
  Stack<int> s( argv[1], iaAttributes );
  double result = s.dEvaluate();
  printf( "The result is %f\n", result );
  return 0;
}
